package com.example.test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @ClassName Person
 * @Description TODO
 * @Author H.
 * @Date 2023/4/23 20:00
 * @Version 1.0
 */
@Component
public class Person {

    @Autowired
    private User user;

    public User getUser() {
        return user.u1();
    }
}
